package com.sorhis.service;

import com.sorhis.dto.LoginDTO;
import com.sorhis.vo.ResultVO;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletResponse;

/**
 * @Author xihao.ding
 * @Date 2023/3/18 9:28
 * @Description: TODO
 */
public interface LoginService {

    void getCaptcha(HttpServletResponse response, @RequestParam(value = "flag" ) String flag);

    ResultVO login(LoginDTO loginDTO);

}
